package com.cooperate.fly.bo;

import java.util.Date;

public class Post {
    private Integer id;

    private Integer posttypeid;

    private Integer parentid;

    private Integer acceptedanswerid;

    private Date creationdate;

    private Integer score;

    private Integer viewcount;

    private Integer owneruserid;

    private Integer lasteditoruserid;

    private String lasteditordisplayname;

    private Date lasteditdate;

    private Date lastactivitydate;

    private Date communityowneddate;

    private Date closeddate;

    private Integer answercount;

    private Integer commentcount;

    private Integer favoritecount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPosttypeid() {
        return posttypeid;
    }

    public void setPosttypeid(Integer posttypeid) {
        this.posttypeid = posttypeid;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getAcceptedanswerid() {
        return acceptedanswerid;
    }

    public void setAcceptedanswerid(Integer acceptedanswerid) {
        this.acceptedanswerid = acceptedanswerid;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getViewcount() {
        return viewcount;
    }

    public void setViewcount(Integer viewcount) {
        this.viewcount = viewcount;
    }

    public Integer getOwneruserid() {
        return owneruserid;
    }

    public void setOwneruserid(Integer owneruserid) {
        this.owneruserid = owneruserid;
    }

    public Integer getLasteditoruserid() {
        return lasteditoruserid;
    }

    public void setLasteditoruserid(Integer lasteditoruserid) {
        this.lasteditoruserid = lasteditoruserid;
    }

    public String getLasteditordisplayname() {
        return lasteditordisplayname;
    }

    public void setLasteditordisplayname(String lasteditordisplayname) {
        this.lasteditordisplayname = lasteditordisplayname == null ? null : lasteditordisplayname.trim();
    }

    public Date getLasteditdate() {
        return lasteditdate;
    }

    public void setLasteditdate(Date lasteditdate) {
        this.lasteditdate = lasteditdate;
    }

    public Date getLastactivitydate() {
        return lastactivitydate;
    }

    public void setLastactivitydate(Date lastactivitydate) {
        this.lastactivitydate = lastactivitydate;
    }

    public Date getCommunityowneddate() {
        return communityowneddate;
    }

    public void setCommunityowneddate(Date communityowneddate) {
        this.communityowneddate = communityowneddate;
    }

    public Date getCloseddate() {
        return closeddate;
    }

    public void setCloseddate(Date closeddate) {
        this.closeddate = closeddate;
    }

    public Integer getAnswercount() {
        return answercount;
    }

    public void setAnswercount(Integer answercount) {
        this.answercount = answercount;
    }

    public Integer getCommentcount() {
        return commentcount;
    }

    public void setCommentcount(Integer commentcount) {
        this.commentcount = commentcount;
    }

    public Integer getFavoritecount() {
        return favoritecount;
    }

    public void setFavoritecount(Integer favoritecount) {
        this.favoritecount = favoritecount;
    }
}